class Log:
    def __init__(self, _bool):
        self.is_print = _bool

    def log(self, message):
        if self.is_print:
            print(message)
